package com.bing.jh.entity;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.NumberFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.io.Serializable;


@ExcelIgnoreUnannotated
@Data
public class HivestatOverViewEntity implements Serializable {
    private static final long serialVersionUID = 492012859690355646L;

    @ExcelProperty("省份")
    private String province;

    @ColumnWidth(18)
    @ExcelProperty("对接系统")
    private String externalSystem;

    @ColumnWidth(24)
    @ExcelProperty("数据模型")
    private String dataModel;

    @ExcelProperty("数据条目数量")
    private Long count;

    @ExcelProperty("字段有效值总数")
    private Long validNum;

    @ExcelProperty("字段空值总数")
    private Long emptyNum;

    @ExcelProperty("字段不规范值总数")
    private Long errorNum;

    @ExcelProperty("字段有效值率")
    @NumberFormat("0.00%")
    private Double validRate;

    @ExcelProperty("字段空值率")
    @NumberFormat("0.00%")
    private Double emptyRate;

    @ExcelProperty("字段不规范率")
    @NumberFormat("0.00%")
    private Double errorRate;


}

